package test_package;

import java.util.List;
import java.util.PriorityQueue;

public class Test {
    public static void main(String[] args) {
        PriorityQueue<Integer> queue = new PriorityQueue<>(List.of(1, 2, 3, 4, 7, 8, 9, 0, 5, 3, 4, 7, 10));
        System.out.println(queue.poll());
        System.out.println(queue);
    }
}
